
<!-- target:quickList -->
<div class="height-100 page-cont grey-bg">
    <form name="quickListSearchForm" class="ui-hide">
        <input class="ui-hide" ui="type:text" name="tag" value="2">
    </form>
    <div class="home-page-container height-100 grey-bg" ui="type:mao.ui.AppListView;view:todoList;initRefresh;reqUrl:/erp-management/todo/event/list?quickListSearchForm;customEmpty:true;">
        <!-- use:list-empty -->
    </div>
</div>

<!-- target:todoListItem -->
<!-- if:${item.eventType} === 1 -->
    <!-- var:routeName = ['/contract/detail.court', '/contract/detail.ticket', '/contract/detail.business', '/contract/detail.self', '/contract/detail.common'][${item.subType} -1] -->
<!-- elif:${item.eventType} === 7 -->
    <!-- var:routeName = ['', '/finance/bill.purchase.detail', '/finance/bill.cost.detail', '/finance/bill.loan.detail', '/finance/bill.reimbursement.detail', '/finance/bill.corporatePayment.detail'][${item.subType}] -->
<!-- elif:${item.eventType} === 8 -->
    <!-- var:routeName = '/brand/project.detail' -->
<!-- else -->
    <!-- var:routeName = ['', '/venueOrder/detail', '/finance/bill.detail', '/brand/statement.detail'][${item.eventType} - 1] -->
<!-- /if -->

<!-- if:${item.eventType} === 5 && ${item.eventType} === 6 -->
<li class="to-do-item quick-item white-bg" data-id="${item.todoEventId}">
<!-- else -->
<li class="to-do-item quick-item white-bg" ui="ext-link" data-id="${item.todoEventId}" href="#${routeName}~id=${item.businessId}~DENY_CACHE">
<!-- /if -->
    <div class="to-do-info">
        <div class="to-do-info-title"><!-- <span class="ui-tag ui-tag-mini">${item.subType|parseBaseInfo('finInvoiceType')}</span> -->${item.title}</div>
        <!-- for:${item.contentList} as ${_item} -->
        <div class="to-do-info-text">${_item.key}：${_item.value}</div>
        <!-- /for -->
        <div class="to-do-info-status">
            <span class="info-text">${item.ctime|dateFormat('yyyy-MM-dd')} 来自 审批</span>
            <!-- if:${status.text} -->
            <span class="info-status ${status.className}">${status.text}</span>
            <!-- /if -->
        </div>
    </div>
    <div class="quick-actions">
        <div class="ui-button ui-button-medium" ui="type:NS.ApprovalSubmitBtn;optId:${item.businessId};eType:${item.eventType};cType:2;tip:审批已拒绝">拒绝</div>
        <div class="ui-button ui-button-medium ui-button-primary ui-plain" ui="type:NS.ApprovalSubmitBtn;optId:${item.businessId};eType:${item.eventType};cType:3;tip:审批已同意">同意</div>
    </div>
</li>